#include<iostream>
#include<cmath>
#include<cstdio>
using namespace std;
int main(){
    double r;
    cin>>r;
    double s=4*1.0/3*3.1415926*r*r*r;
    printf("%.3lf",s);
    return 0;
}
